<?
	$db_host='localhost';
	$db_user='root';
	$db_pass='';
	$db_data='solio';
	 
	mysql_connect($db_host,$db_user,$db_pass) or die("Not connected to database");
	mysql_select_db($db_data) or die ("Not found database");
	
	/////////////GET CONFIG/////////////
	/*function m_get_config($name) {
		$r=mysql_fetch_array(mysql_query("SELECT ".$name." FROM shop_config"));
		return $r[$name];
	}
	
	$webphone	= m_get_config('web_phone');
	$webadd	= m_get_config('web_add');
	$webnic1	= m_get_config('web_nic1');
	$webnic2	= m_get_config('web_nic2');
	$webTitle	= m_get_config('web_title');
	$webintro	= stripslashes(m_get_config('intro'));
	$webgioithieu	= stripslashes(m_get_config('intro1'));
	$webcontact	= stripslashes(m_get_config('intro2'));
	$keywords = m_get_config('keywords');
	$webUrl1 = m_get_config('web_url');
	if ($webUrl1[strlen($webUrl1)-1] == '/') $webUrl1 = substr($webUrl1,0,-1);
	global $webUrl1;
	//////////////////////////////
	function get_var_fr_tbl($name,$table,$column,$var) {
		$r=mysql_fetch_array(mysql_query("SELECT ".$name." FROM shop_".$table." WHERE ".$column."=".$var));
		return $r[$name];
	}*/

	
?>